package org.jeecg.modules.demo.soOrderDetail.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.soOrderDetail.entity.SoOrderDetail;
import org.jeecg.modules.demo.warehouseorder.entity.WarehouseOrder;

import java.util.List;

/**
 * @Description: so_order_detail
 * @Author: jeecg-boot
 * @Date:   2021-12-10
 * @Version: V1.0
 */
public interface SoOrderDetailMapper extends BaseMapper<SoOrderDetail> {


    SoOrderDetail getBySodNo(@Param("sodNo")String sodNo, @Param("soOrder")String soOrder);
    SoOrderDetail getBySodNumber(@Param("sodNo")String sodNo);
    public String getMaxCode();
    public boolean deleteByPdNo(@Param("str") String str);

    List<SoOrderDetail> getByDbNo(@Param("str") String str);

    List<SoOrderDetail> getBysoNo(String soNo);

    List<SoOrderDetail> getByrkNo(String woNo);

    List<WarehouseOrder> getByprdAndWh(@Param("warehouseOrder")WarehouseOrder warehouseOrder);
//    List<WarehouseOrder> getByprdAndWh(Page<WarehouseOrder> page,@Param("whNum")String whNum, @Param("prdNo")String prdNo, @Param("chumdwmc")String chumdwmc);

}
